<?php
namespace Hive\Expense;
/**
 * Reference. 
 * 
 * An expense must be associated to an accounting object (called reference),
 * the Reference objects handle the customizing part of it.
 *
 * @author Xavier VILAIN
 * @package hive
 * @subpackage expense
 * 
 * @property string	$referenceid	Unique Id to handle the object easyly
 * @property string	$reference_name	Name of the object (with the namespacing)
 * @property string	$language		Language
 * @property string	$label			Label
 * @property bool	$standard		Is a standard type (can't be deleted)
 * @property bool	$active			Is an active type (can be selected)
 */
class Reference extends \Fox\Object {
		
	/**
	 * To standardize the creation/updat
	 * @return type label
	 */
	public function label()
	{
		return $this->label;
	}
}
\Fox\Dao::infos(
	Reference::className(),
	new \Fox\Object\Info('expense_references', \Fox\Databases::DB_APP)
);